package com.example.app6;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

public class MainActivity extends AppCompatActivity {

    private Button btn1;
    private Button btn2;
    private Button btn3;
    private Button btn4;
    private Button btn5;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        btn1 = findViewById(R.id.button);
        btn2 = findViewById(R.id.button2);
        btn3 = findViewById(R.id.button3);
        btn4 = findViewById(R.id.button4);
        btn5 = findViewById(R.id.button5);


        btn1.setOnClickListener(v -> startActivity(new Intent(this, UCActivity1.class)));
        btn2.setOnClickListener(v -> startActivity(new Intent(this, UCActivity2.class)));
        btn3.setOnClickListener(v -> startActivity(new Intent(this, UCActivity3.class)));
        btn4.setOnClickListener(v -> startActivity(new Intent(this, UCActivity4.class)));
        btn5.setOnClickListener(v -> startActivity(new Intent(this, UCActivity5.class)));
    }
}